﻿using System;
using System.Windows;
using System.Windows.Controls;

namespace Waaahsabi.Controls.DWM
{
	public class TaskBarItem : Control
	{
		public Guid ItemId;

		#region ItemName DependencyProperty
		public static readonly DependencyProperty ItemNameProperty =
			DependencyProperty.Register
				(
					"ItemName",
					typeof(string),
					typeof(TaskBarItem),
					new PropertyMetadata("Noname")
				);

		public string ItemName
		{
			get { return (string)GetValue(ItemNameProperty); }
			set { SetValue(ItemNameProperty, value); }
		}
		#endregion

		#region Button DependencyProperty
		public static readonly DependencyProperty ButtonProperty =
			DependencyProperty.Register
				(
					"Button",
					typeof(UIElement),
					typeof(TaskBarItem),
					new PropertyMetadata(null)
				);

		public UIElement Button
		{
			get { return (UIElement)GetValue(ButtonProperty); }
			set { SetValue(ButtonProperty, value); }
		}
		#endregion
	}
}